import { http } from '@/utils/http'
import type { DeviceVO } from '@/types/login'

export const getPageList = (parm: any) => {
  return http<any>({
    method: 'GET',
    url: '/mqtt/device/permissionPage',
    data: parm
  })
}


export const getDeviceImage =  (deviceId: number) => {
    return http<any>({
       method: 'GET',
       url: `/mqtt/device/image/${deviceId}`
    })
  }